from django.db import models

# Create your models here.

# 商品牌管理模型类

class BrandsModels(models.Model):
    first_name = models.CharField(verbose_name="品牌首字母", max_length=10, default=None)
    name = models.CharField(verbose_name="品牌名", max_length=20)
    logo = models.CharField(max_length=200, verbose_name="品牌logo")

    class Meta:
        db_table = "brand"
        verbose_name_plural = "品牌"

    def __str__(self):
        return self.name


